import type { AppRouteRecordRaw } from '../../types'
const Layout = () => import('@/layout/index.vue')

const userRouter: AppRouteRecordRaw = {
  path: '/user',
  name: 'User',
  component: Layout,
  redirect: '/user/list',
  meta: {
    icon: 'home-filled',
    title: "用户",
    rank: 1
  },
  children: [
    {
      path: '/user/list',
      name: 'user',
      component: () => import('@/views/user/index.vue'),
      meta: {
        icon: 'home-filled',
        title: '用户'
      }
    }
  ]
};

export default userRouter;